package cn.com.surker.enums.oa;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * @Author lucky
 * @create 2022年10月04 6:40
 * @desc 印章流文件类型
 */
public enum ProtocolTypeEnum implements ICodeDescEnum {

    PT(0,"普通文件或协议"), SC(1,"生产相关文件或协议"),
    CL(2,"材料相关文件或协议"), RL(3, "人力资源相关文件或协议"),
    XS(4, "销售合同相关文件或协议"),
    ;

    private final String description;

    private final Integer code;

    ProtocolTypeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
